#ydff {
    width: 100%;

    background-color: #e1e1e2;
}

/* p1 */
#ydff #p1 {
    padding: 3% 0;

    text-align: center;
    font-size: 40px;
}

/* ul */
#ydff ul {
    margin: 0 auto;
    padding-bottom: 7%;

    list-style: none;

    width: 1200px;
    height: 500px;
}

#ydff ul li {
    margin-top: 2%;
    margin-left: 2%;
    margin-bottom: 1.3%;
    margin-right: 1.3%;

    float: left;

    width: 240px;
    height: 215px;

    transition: .8s;

    border-radius: 9px;
    box-shadow: 2px 2px 10px 2px #999;
}

#ydff ul li:nth-child(1) {
    width: 520px;
    background: url(../images/ydff/paobu.png);
    background-size: 100% 100%;
}

#ydff ul li:nth-child(2) {
    background: url(../images/ydff/dengshan.png) no-repeat;
    background-size: 100% 100%;
}

#ydff ul li:nth-child(3) {
    background: url(../images/ydff/qixing.png);
    background-size: 100% 100%;
}

#ydff ul li:nth-child(4) {
    background: url(../images/ydff/yujia.png);
    background-size: 100% 100%;
}

#ydff ul li:nth-child(5) {
    background: url(../images/ydff/youyong.png);
    background-size: 100% 100%;
}

#ydff ul li:nth-child(6) {
    background: url(../images/ydff/panyan.png);
    background-size: 100% 100%;
}

#ydff ul li:nth-child(7) {
    background: url(../images/ydff/ssmt.png);
    background-size: 100% 100%;
}

#ydff ul li:hover {
    transform: scale(1.08);
}

/* d1  */
#ydff ul li .d1 {
    height: 215px;
    background: rgba(0, 0, 0, 0);
    transition: 1s;
}

#ydff ul li:hover .d1 {
    border-radius: 9px;
    background-color: rgba(0, 0, 0, .3);
}

#ydff ul li .d2 {
    margin: 0 auto;
    width: 200px;
    height: 140px;
    transition: 1s;
}

#ydff ul li:hover .d2 {
    background: url(../images/m1.png) no-repeat;
    background-size: 200px 160px;
}

#ydff ul li .d3 {
    margin: 20px 20px;
    text-align: center;
}

#ydff ul li .d3 p {
    font-size: 25px;
    font-weight: bold;
    transition: .5s;
    color: rgba(0, 0, 0, 0);
}

#ydff ul li:hover .d3 p {
    color: rgba(256, 256, 256, 1);
}